/**
 * output package name
 */
package com.kingdee.eas.lms.enumerate;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class PayFormEnum extends StringEnum
{
    public static final String COMMONTHLY_VALUE = "1";
    public static final String PAYMENT_VALUE = "2";

    public static final PayFormEnum comMonthly = new PayFormEnum("comMonthly", COMMONTHLY_VALUE);
    public static final PayFormEnum payment = new PayFormEnum("payment", PAYMENT_VALUE);

    /**
     * construct function
     * @param String payFormEnum
     */
    private PayFormEnum(String name, String payFormEnum)
    {
        super(name, payFormEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static PayFormEnum getEnum(String payFormEnum)
    {
        return (PayFormEnum)getEnum(PayFormEnum.class, payFormEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(PayFormEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(PayFormEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(PayFormEnum.class);
    }
}